code repo connnect test
[shlib.git] / testing / 2.scripttest_testing.Testing for scripttest.unit / 5.scripttest_testid.testing id range.dir / 2.scripttest_param_x.sh
blob1f384a2e91105910ab966a02b28190aa1a35c118
1 #!/bin/bash
3 . shlibinc
4 include stdio.shlib
5 include dbgout.shlib
7 init_dbglogout 2 testing 20000
9 dbgout "$0\n"
11 #dbgout_cmd pwd
13 cd scripts
15 dbgout "================================\n"
16 scripttest -c
19 # 测试程序的version信息输出
21 dbgout "================================\n"
22 dbgout "[set exclude 1.2]\n"
23 dbgout "================================\n"
24 scripttest -x 1.2 -s
26 dbgout "================================\n"
27 dbgout "5 items testing.\n"
28 dbgout "================================\n"
29 scripttest -n 5 -r -q
31 dbgout "================================\n"
32 dbgout "[set exclude 2.1]\n"
33 dbgout "================================\n"
34 scripttest -x 2.1 -s
36 dbgout "================================\n"
37 dbgout "test 5 items, 2.1 is exluded, but 1.2 is recover.\n"
38 dbgout "================================\n"
39 scripttest -n 5 -r -q
41 dbgout "================================\n"